package com.liusand.activity.service;

import com.liusand.entity.dto.ActivityInfoDto;
import com.liusand.entity.pojo.ActivityInfo;
import com.liusand.entity.pojo.RedPackageInfo;
import com.liusand.entity.vo.MoneyVo;

import java.util.List;

/**
 * @author :liusha
 * packageName :com.liusand.activity.service
 * fileName :ActivityService
 * creationTime :2022/12/22 16:41
 */
public interface ActivityService {
    boolean addActivity(ActivityInfoDto activityInfoDto);

    List<ActivityInfo> checkActivity();

    List<RedPackageInfo> findRedPackageInValidity(List<ActivityInfo> activityInfoList);

    boolean modifyActivityInfoState(List<ActivityInfo> activityInfoList, Integer newState);

    MoneyVo getRedPackage();
}
